import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '姓名',
    align: "center",
    dataIndex: 'name'
  },
  {
    title: '账号',
    align: "center",
    dataIndex: 'account'
  },
  {
    title: '密码',
    align: "center",
    dataIndex: 'password'
  },
  {
    title: '所属公司',
    align: "center",
    dataIndex: 'companyId'
  },
  {
    title: 'other',
    align: "center",
    dataIndex: 'other'
  },
  {
    title: 'otherid',
    align: "center",
    dataIndex: 'otherid'
  },
  {
    title: '手机号',
    align: "center",
    dataIndex: 'phone'
  },
  {
    title: '到期日期',
    align: "center",
    dataIndex: 'exdate'
  },
  {
    title: '邀请码',
    align: "center",
    dataIndex: 'ivcode'
  },
  {
    title: '邀请个数',
    align: "center",
    dataIndex: 'ivnum'
  },
  {
    title: '返利金额',
    align: "center",
    dataIndex: 'ivmoney'
  },
  {
    title: '权限',
    align: "center",
    dataIndex: 'jurisdiction'
  },
  {
    title: '备用字段',
    align: "center",
    dataIndex: 'beizhu'
  },
];

// 高级查询数据
export const superQuerySchema = {
  name: {title: '姓名',order: 0,view: 'text', type: 'string',},
  account: {title: '账号',order: 1,view: 'text', type: 'string',},
  password: {title: '密码',order: 2,view: 'text', type: 'string',},
  companyId: {title: '所属公司',order: 3,view: 'text', type: 'string',},
  other: {title: 'other',order: 4,view: 'text', type: 'string',},
  otherid: {title: 'otherid',order: 5,view: 'text', type: 'string',},
  phone: {title: '手机号',order: 6,view: 'text', type: 'string',},
  exdate: {title: '到期日期',order: 7,view: 'text', type: 'string',},
  ivcode: {title: '邀请码',order: 8,view: 'text', type: 'string',},
  ivnum: {title: '邀请个数',order: 9,view: 'text', type: 'string',},
  ivmoney: {title: '返利金额',order: 10,view: 'text', type: 'string',},
  jurisdiction: {title: '权限',order: 11,view: 'text', type: 'string',},
  beizhu: {title: '备用字段',order: 12,view: 'text', type: 'string',},
};
